package com.baosight.risk.service.xtaa.code.entity;

import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: T_XTAA_CODE
 */
@Data
@Table(name = "T_XTAA_CODE")
public class XtaaCode extends BaseEntity {

    /**
     * 代码类型ID
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    DD_TYPE_GUID
     * Nullable:  false
     */
    @Column(name = "DD_TYPE_GUID")
    private String ddTypeGuid;

    /**
     * 代码类型编码
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    DD_TYPE_CODE
     * Nullable:  false
     */
    @Column(name = "DD_TYPE_CODE")
    private String ddTypeCode;

    /**
     * 编码
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    DD_CODE
     * Nullable:  false
     */
    @Column(name = "DD_CODE")
    private String ddCode;

    /**
     * 名称
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    DD_NAME
     * Nullable:  false
     */
    @Column(name = "DD_NAME")
    private String ddName;

    /**
     * 描述
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    DD_DESC
     * Nullable:  true
     */
    @Column(name = "DD_DESC")
    private String ddDesc;

    /**
     * 上级ID
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    PARENT_GUID
     * Nullable:  true
     */
    @Column(name = "PARENT_GUID")
    private String parentGuid;

    /**
     * 层级
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    PATH_LEVEL
     * Nullable:  true
     */
    @Column(name = "PATH_LEVEL")
    private Short pathLevel;

    /**
     * 路径
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    PATH_CODE
     * Nullable:  true
     */
    @Column(name = "PATH_CODE")
    private String pathCode;

    /**
     * 状态（10-正常；20-停用）
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    STATUS
     * Nullable:  true
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 备注
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    REMARK
     * Nullable:  true
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @Column(name = "ROW_ORDER")
    private String rowOrder;

    /**
     * 是否末级，0非末级，1末级
     * <p>
     * Table:     T_XTAA_CODE
     * Column:    IS_END_LEVEL
     * Nullable:  true
     */
    @Column(name = "IS_END_LEVEL")
    private String isEndLevel;
    private static final long serialVersionUID = 1L;
}